package com.jeff.android.lab.module.widget.fragment;

import android.os.Bundle;

import com.jeff.android.lab.BaseActivity;
import com.jeff.android.lab.R;

/**
 * @author: dingfeng
 * @date: 2020-02-03
 * @since: 1.0.0
 **/
public class WidgetFragmentActivity extends BaseActivity {

    private void launchFragment() {
        getSupportFragmentManager().beginTransaction()
                .add(R.id.container, new WidgetFragment())
                .commit();
    }

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.widget_fragment_widget);
    }

    @Override
    protected void onStart() {
        super.onStart();
    }

    @Override
    protected void onResume() {
        super.onResume();

        launchFragment();
    }

    @Override
    protected void onPause() {
        super.onPause();
    }

    @Override
    protected void onStop() {
        super.onStop();
    }

    @Override
    protected void onDestroy() {
        super.onDestroy();
    }

}
